from motor.core import AgnosticCollection

from dao.base_dao import BaseDAO
from db import get_leet_code_question
from models.leetcode_question_model import LeetCodeQuestionModel


class LeetCodeQuestionDao(BaseDAO[LeetCodeQuestionModel]):
    def get_db(self) -> AgnosticCollection:
        return get_leet_code_question()
